<html><head><title>Special properties of a formatted field</title><meta name="filename" content="text/common/02/01170002"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
table.Tabelle1{
}
span.Tabelle1A{
width:1.499cm;}
span.Tabelle1B{
width:16.498cm;}
tr.Tabelle11{
}
td.Tabelle1A1{
}
p.P1{
}
span.T1{
font-weight:bold;}
span.fr1{
}
</style></head><body>
<p class="P1"/>
<p class="Head1"><help:key-word value="formatted field; properties" tag="kw65939_1" xmlns:help="http://openoffice.org/2000/help"/>Special properties of a formatted field</p>
<p class="Paragraph"><span class="T1">Formatting</span>: You can set the property by clicking in the <span class="T1">Properties: Formatted Field</span> dialog on the button with the three dots in the <span class="T1">Formatting</span> line. You can then see a sample in front of this button. You cannot edit the sample in the text box, but you can delete it. Then the formatted field will display its content the way it is in the database in the table connected to this field, i.e. without changing anything in the formatting. If the formatted field is not connected to a database, a default number formatting will apply.</p>
<p class="Paragraph">If the formatted field is connected to the text field of a database, the entries in this field will be treated as text. If the formatted field is connected to a field of the database that can be displayed as a number, the input is treated as numbers. (The date and time are also handled internally as numbers).</p>
<p class="Paragraph"><span class="T1">Min. value</span> and <span class="T1">Max. value</span>: Here you can enter the minimum and maximum numeric value for the formatted field. For formatted fields that are connected to a text box, these two values and the <span class="T1">default value</span> described below are without meaning. The limit values determine the output of existing data (for example: Min. value is 5, the connected field name contains the integer value 3. The output is 5, but the value in the database is not modified) and the output of new data (example: Max. value is 10 and you enter 20. The input is corrected and 10 is written in the database). If the fields are not filled in for <span class="T1">Min. value </span>and <span class="T1">Max. value</span>, there is no restriction.</p>
<p class="Paragraph"><span class="T1">Default value</span>: This value is set for new records as the default value.</p>
<p class="Paragraph">If you open a document containing a formatted field using a <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> 5.1 version, the formatted field is read as a text box. If you save the document in the 5.1 version, the formatted field permanently becomes a text box.</p>